package routers

import (
	"device-admin/internal/app/web/controller"

	"github.com/gin-gonic/gin"
)

func robot(rg *gin.RouterGroup) {
	rg.GET("/location/nav/home", controller.Robot{}.GetNavHome)
	rg.GET("/location/nav/map", controller.Robot{}.GetNavMap)
	rg.GET("/location/floor/list", controller.Robot{}.GetLocationFloorList)
	rg.GET("/location/floor/brand/list", controller.Robot{}.GetFloorBrandList)
	rg.GET("/location/floor/brand/recommended", controller.Robot{}.GetRecommendedBrandList)
	rg.GET("/location/floor/brand/search-recommended", controller.Robot{}.GetSearchRecommendedBrandList)
	rg.GET("/location/nav/position/list", controller.Robot{}.GetNavPositionList)
	rg.GET("/location/nav/get-shortest-path", controller.Robot{}.GetShortestPath)
	rg.GET("/location/nav/get-nav-url", controller.Robot{}.GetNavURL)
	rg.POST("/local-qa/answer", controller.LocalQA{}.GetAnswer)                     // 本地词库问答的答案
	rg.GET("/mall-service/open-status", controller.MallService{}.OpenStatus)        //商场服务开通状态
	rg.GET("/mall-service/list", controller.RobotMallService{}.List)                // 商场服务列表
	rg.GET("/mall-service/detail", controller.RobotMallService{}.Detail)            // 商场服务详情
	rg.GET("/mall-service/hot-keywords", controller.RobotMallService{}.HotKeywords) // 商场服务热词
	rg.GET("/mall-service/qa-search", controller.RobotMallService{}.QASearch)       // 商场问题查询
}
